<script setup>
import { onMounted } from 'vue'
import { useAuthStore } from './stores'

const authStore = useAuthStore()

// 初始化认证状态
onMounted(() => {
  authStore.initAuth()
})
</script>

<template>
  <div id="app">
    <RouterView />
  </div>
</template>

<style>
/* 全局样式已在 style.css 中定义 */
</style>
